package com.zjl.legendary.entity;

/**
 * @author zhoujingluo
 * @date 2021/5/29 17:05
 */
public class TaskItem {
    private Integer id;
    private Integer tid;
    private Integer qid;
    private String uanswer;
    private Integer score;
    private Integer flag;

    public TaskItem() {
    }

    public TaskItem(Integer tid, Integer qid, String uanswer, Integer score, Integer flag) {
        this.tid = tid;
        this.qid = qid;
        this.uanswer = uanswer;
        this.score = score;
        this.flag = flag;
    }

    public TaskItem(Integer id, Integer tid, Integer qid, String uanswer, Integer score, Integer flag) {
        this.id = id;
        this.tid = tid;
        this.qid = qid;
        this.uanswer = uanswer;
        this.score = score;
        this.flag = flag;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getQid() {
        return qid;
    }

    public void setQid(Integer qid) {
        this.qid = qid;
    }

    public String getUanswer() {
        return uanswer;
    }

    public void setUanswer(String uanswer) {
        this.uanswer = uanswer;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "TaskItem{" +
                "id=" + id +
                ", tid=" + tid +
                ", qid=" + qid +
                ", uanswer='" + uanswer + '\'' +
                ", score=" + score +
                ", flag=" + flag +
                '}';
    }
}
